package com.wangsd.web.sys.mapper;

import com.gitee.fastmybatis.core.mapper.CrudMapper;
import com.wangsd.web.sys.entity.SysUser;
import org.apache.ibatis.annotations.Select;

public interface SysUserMapper extends CrudMapper<SysUser, Long> {
    @Select("select id, username, real_name, code, type, status " +
            "from sys_user where username=#{username} and password=#{password}")
    SysUser selectByLogin(String username, String password);
}
